import request from "@/utils/request"

// 查询列表
// ;/lDevice/ / queryPageDevice
export function queryPageDevice(data) {
  return request({
    url: "/lDevice/queryPageDevice",
    method: "get",
    params: data
  })
}
export function addDevice(data) {
  return request({
    url: "/lDevice/addDevice",
    method: "post",
    data: data
  })
}
// deleteDeviceById
export function updateDevice(data) {
  return request({
    url: "/lDevice/updateDevice",
    method: "post",
    data: data
  })
}
export function deleteDeviceById(data) {
  return request({
    url: "/lDevice/deleteDeviceById",
    method: "post",
    data: data
  })
}
// GET / lDevice / selectDeviceById
export function selectDeviceById(data) {
  return request({
    url: "/lDevice/selectDeviceById",
    method: "get",
    params: data
  })
}

// /lDevice/gueryDeviceModelList
export function queryDeviceModelList(data) {
  return request({
    url: "/lDevice/queryDeviceModelList",
    method: "get",
    params: data
  })
}
export function queryParametersPageByDevice(data) {
  return request({
    url: "/lDevice/queryParametersPageByDevice",
    method: "get",
    params: data
  })
}
